<html>
<body onLoad="printpage()">
<script language="Javascript">
<!--
function printpage() {
 window.print();
 this.window.close()
}
//-->
</script>

<?php 

$target=$_GET["page"];
include($target);
?>
</body>
</html>
